/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.football.contract;

import com.suozhang.framework.entity.bo.PageData;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.BallMatchBo;
import com.yiqi.lottery.entity.bo.BallMatchBo2;

import io.reactivex.Observable;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:06
 */
public interface FootballContract {

    interface Model {
        Observable<PageData<BallMatchBo>> getFootballMatchList(String label);
        Observable<PageData<BallMatchBo2>> getFootballMatchList2(String label);
        Observable<BallMatchBo> getFootballSFC();
    }

    interface View extends BaseView {
        void showFootballMatchListSuccess(PageData<BallMatchBo> footballMatchBoData);
        void showFootballMatchListSuccess2(PageData<BallMatchBo2> footballMatchBoData);
        void showFootballMatchListError(String error);

        void showSFCMatchSuccess(BallMatchBo matchBo);

    }


    interface Presenter extends BasePresenter {
        void getFootballMatchList(String label);
        void getFootballSFCMatchList();
    }
}
